import UserForm from './UserForm.vue'
import ProductForm from './ProductForm.vue'
import ProviderForm from './ProviderForm.vue'
import NavBar from './NavBar.vue'

const components = [UserForm, ProductForm, ProviderForm, NavBar]

const install = function (app) {
  if (install.installed) return
  components.map((component) => app.component(component.name, component))
}

export default {
  install,
}

export { UserForm, ProductForm, ProviderForm, NavBar }
